package com.dily.study.demo.config.websocket.second;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * Date: 2022-04-28 星期四
 * Time: 14:37
 * Author: Dily_Su
 * Remark: 方式二
 */
//@Configuration
public class WebSocketConfiguration{

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}
